export const warnConfigure = function () {
    return {
        name: 'onwarn',
        configure: () => {
            return (warning: any, warn: any) => {
                if (warning.message.includes('Circular dependency') || warning.code === 'EVAL') {
                    return
                }
                warn(warning)
            }
        }
    }
}
